home *** CD-ROM | disk | FTP | other *** search
- Path: ns.mad.servicom.es!news
- From: ores@mad.servicom.es (Orestes Sanchez)
- Newsgroups: comp.lang.c++
- Subject: Re: Help: Containers for templated classes
- Date: Wed, 27 Mar 1996 23:03:52 GMT
- Organization: SERVICOM
- Message-ID: <4jci30$3bu@ns.mad.servicom.es>
- References: <314740D4.23B1@mit.edu> <1996Mar22.020605.6@network-1.com>
- NNTP-Posting-Host: ppp_mad_11.inf.servicom.es
- X-Newsreader: Forte Free Agent 1.0.82
-
- garrett@I_should_put_my_domain_in_etc_NNTP_INEWS_DOMAIN (Don Garrett)
- wrote:
-
- >Imran Haq ( ) wrote:
- >: I'm kind of new to advanced usage of templates. Does anyone know how
- >: to put different template classes in a single container. Is this possible?
- >: For example, I have instations
-
- >: myClass<int> *type1;
- >: myClass<double> *type;
-
- >: ....
-
- >: I'm using STL to provide container classes:
-
- >: vector<myClass<????> > container;
-
- >: But this obviously does not work. Does anyone know about any
- >: workarounds?? HELP!!!
-
- Try the STL Newbie page at
-
- http://www.xraylith.wisc.edu/~khan/software/stl/STL.newbie.html
-
- Orestes
-
-